home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
By Popular Request 2.0
/
By Popular Request 2.0 (Arsenal Computer).ISO
/
amiga_5
/
pblcty14.lha
/
publicity.dox
< prev
next >
Wrap
Text File
|
1995-06-27
|
3KB
|
100 lines
Publicity V1.4
Dowithitwhatyoulikebutdonotsellitware
"Publicity" is the successor of a little tool I wrote last year to
manage my PubScreens. Just added a few bells & whistles to fit
everybody's needs :)
OK, what does it do?
Just as I said, it manages public screens, nothing else.
But there are tons of PubScreen managers already, why yet one more?
First, I had some spare time to waste (hell, i don't have spare time,
I should be learning maths now, but I need a break :( )
Second, I don't like the other PubScreen managers. Some, like PSX, do
not support all display modes (I need AGA and MERLIN modes). Some,
like ScreenFool, are just ugly. Others are overloaded with features
(?) like an ARexx-port which I never use anyway. Almost all of them
have a GUI.
If you prefer commandline-utilities over GUI-driven ones, then this
is for you!
- no GadTools
- no MUI
- no window
- no configfiles
- no requesters
- no mouse
- no menus
- no wasted space on your HD
- no bugs (hopefully =^) )
The option template:
N=Name/A,W=Width/N,H=Height/N,D=Depth/N,M=Mode,MID=ModeID/K,F=Font/K,
FS=FontSize/K/N,Close/S,Default/S,Shanghai/S,NoShanghai/S,
PopScreen/S,NoPopScreen/S,ToFront/S,ToBack/S
Name The PubScreen's name. If it exists, the flags can
be modified. If it doesn't, a new screen will be
opened.
Width
Height The dimensions for a new screen.
Depth Number of bitplanes for a new screen. Some graphics
boards override this number, e.g. for chunky-pixel
screens. By now (OS 3.1) the maximum number of
bitplanes for an intuition-screen is 8.
Mode A named screenmode, typed exactly as ASL displays it.
I considered several ways of simplifying this, but
the drawbacks of every method were bigger than the
advantages. So you have to type e.g.
"MULTISCAN:Productivity Interl." or
"SUPER72:800 x 150" WITH the quotation marks AND all
spaces! At least upper-/lowercase doesn't matter.
ModeID The screenmode as a decimal number, if you prefer it
over the mode's name. ModeID and the mode name are
mutually exclusive unless they refer to the same mode
which is silly anyway :)
Font You may specify a font to use for the new screen. You
have to provide the FULL name, e.g. "topaz.font".
FontSize If you choose an own font for your screen, it's a Good
Thing to give a size as well :)
If no size is given, 8 point is used as default.
Close Close a screen
Default Make the screen the default public screen
Shanghai Open WB windows on the specified screen
NoShanghai Turn Shanghai off
PopScreen Pop screen to front whenever a window opens on it
NoPopScreen Turn screen popping off
ToFront Bring screen to front
ToBack Send screen to back
Publicity has only been tested with OS3.0 and 3.1 but it should work on
every OS from 2.04 on.
Machines I tested it on:
A4000/040, OS3.0/3.1, 14MB
A1200/020, OS3.0, 6MB
A1200/030, OS3.1, 6MB
History:
V1.4 : optimized some code and added warnings
V1.3 : first release, previous versions were just quick hacks...
Author:
email: Matthias.Bethke@sowi.uni-giessen.de
AmigaNet: lunkwill@39:176/208.0